<template>
  <fieldset class="scheduler-border">
    <legend class="scheduler-border">{{title}}</legend>
    <slot></slot>
  </fieldset>
</template>

<script>
export default {
  name: 'invoiceDialog',
  props:['title']
}
</script>

<style scoped lang="scss">
  .scheduler-border{
    border: 1px solid #e5e5e5 !important;
    border-radius: 0.25rem;
    padding: 0 1.4em 0.5em 1em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
  }
  legend.scheduler-border {
    font-size: 1em !important;
    font-weight: 500 !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border: none !important;
  }
  legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
  }
</style>
